package cn.lg.soar.system.account.model;

import cn.lg.soar.system.api.model.AuthUser;
import cn.lg.soar.system.auth.model.MenuTree;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.List;
import java.util.Set;

/**
 * 账号信息
 * @author luguoxiang
 * 开源项目：https://gitee.com/lgx1992/lg-soar 求star！请给我star！请帮我点个star！
 */
@Getter
@Setter
public class AccountInfoVo {

    @ApiModelProperty("是否是超级管理员")
    private Boolean superAdministrator;

    @ApiModelProperty("用户信息")
    private AuthUser user;

    @ApiModelProperty("用户角色")
    private List<String> roles;

    @ApiModelProperty("用户菜单")
    private List<MenuTree> menus;

    @ApiModelProperty("用户菜单")
    private Set<String> permits;

}
